﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CrystalCommon.BLL
{
    public static class CommonManager
    {
        #region Methods
        public static void ClearBulkStagingTable(string pstrTableName, int pintEntityID)
        {
            DataFactory.CreateDataBase().ExecuteNonQuery("CR_sp_ClearTables", new Object[] {pstrTableName,pintEntityID});
        }

        public static void ClearDHSortBulkStagingTable(string pstrTableName, int pintUserID,int pintProjectID)
        {
            DataFactory.CreateDataBase().ExecuteNonQuery("CR_sp_DH_ClearTables", new Object[] { pstrTableName, pintUserID, pintProjectID });
        }

        #endregion
    }
}

